package com.softeem.score.model.entity.educational;

import com.softeem.score.model.entity.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 *
 * </p>
 *
 * @author zhu
 * @since 2024-02-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "Course对象")
public class Course extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "课程名称")
    private String name;

    @Schema(description = "课程代码")
    private String code;

    @Schema(description = "课程学分")
    private BigDecimal credits;

    @Schema(description = "学时")
    private Integer period;

    @Schema(description = "开课学院")
    private Integer collegeId;

    @Schema(description = "课程类别")
    private Integer category;

    @Schema(description = "课程性质")
    private Integer nature;

    @Schema(description = "课程归属")
    private Integer ownership;

    @Schema(description = "教学模式（0中文，1英文，2中英混合）")
    private Integer teachingMode;

    @Schema(description = "考核方式（0考试，1考查）")
    private Integer assessmentMethod;

}
